﻿@using DreamStore.WebShop.ViewModels

@{
    var login = (LoginViewModel)Model.Login;
}
 
<h2>@T("Returning customer")</h2>
<p>@T("Please login using the form below")</p>
 
@Html.ValidationSummary()
 
@using (Html.BeginFormAntiForgeryPost(Url.Action("Login", "Checkout", new { area = "DreamStore.WebShop" }))) {
    
    <article class="form">
            
        <fieldset>
            <ul>
                <li>@Html.EditorFor(m => login.Email)</li>
                <li>@Html.EditorFor(m => login.Password)</li>
            </ul>
        </fieldset>
    
        <fieldset>
            <ul>
                <li>@Html.EditorFor(m => login.CreatePersistentCookie)</li>
            </ul>
        </fieldset>
    
        <footer class="commands">
            <ul>
                <li class="align left"><a href="http://91.144.247.230/">@T("Cancel")</a></li>
                <li class="align right"><button type="submit">@T("Next")</button></li>
            </ul>
        </footer>
    
    </article>
}